package org.dromara.system.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.system.domain.TResponse;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 问卷收集视图对象 t_response
 *
 * @author Lion Li
 * @date 2024-10-27
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TResponse.class)
public class TResponseVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    private Integer responseId;

    /**
     * 关联表单
     */
    @ExcelProperty(value = "关联表单")
    private Integer surveyId;

    /**
     * 送气工
     */
    @ExcelProperty(value = "送气工")
    private String userId;

    /**
     * 检查日期（表单提交时间）
     */
    @ExcelProperty(value = "检查日期", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "表=单提交时间")
    private String responseTime;

    private String responseContent;


}
